From 1dcdc118ac7aecb4f23526549ba6760225cc2ea4 Mon Sep 17 00:00:00 2001 From: "awilliam@xenbuild.aw" Date: Mon, 19 Jun 2006 14:55:13 -0600 Subject: [PATCH] [IA64] dummy print_stack() func for NO_TRANSLATION path Signed-off-by: Alex Williamson --- tools/xentrace/xenctx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/xentrace/xenctx.c b/tools/xentrace/xenctx.c index 4f98d89397..190670ea74 100644 --- a/tools/xentrace/xenctx.c +++ b/tools/xentrace/xenctx.c @@ -428,6 +428,8 @@ void print_stack(vcpu_guest_context_t *ctx, int vcpu) } } } +#else +#define print_stack(ctx, vcpu) #endif void dump_ctx(int vcpu) @@ -451,10 +453,8 @@ void dump_ctx(int vcpu) } print_ctx(&ctx); -#ifndef NO_TRANSLATION if (is_kernel_text(INSTR_POINTER((&ctx.user_regs)))) print_stack(&ctx, vcpu); -#endif ret = xc_domain_unpause(xc_handle, domid); if (ret < 0) { -- 2.30.2